<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="ILoggingTarget,mx.logging.ILoggingTarget,filters,level,addLogger,removeLogger" name="keywords">
<title>mx.logging.ILoggingTarget</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ILoggingTarget - Zentrum virtUOS: virtPresenter';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">virtPresenter AsDoc</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?mx/logging/ILoggingTarget.html&amp;mx/logging/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Interface&nbsp;ILoggingTarget</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Interface ILoggingTarget"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">mx.logging</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface ILoggingTarget</td>
</tr>
</table>
<p></p>
  All logger target implementations within the logging framework
  must implement this interface.
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#filters">filters</a> : Array<div class="summaryTableDescription">
      In addition to the <code>level</code> setting, filters are used to
      provide a psuedo-hierarchical mapping for processing only those events
      for a given category.</div>
</td><td class="summaryTableOwnerCol">ILoggingTarget</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#level">level</a> : int<div class="summaryTableDescription">
      Provides access to the level this target is currently set at.</div>
</td><td class="summaryTableOwnerCol">ILoggingTarget</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addLogger()">addLogger</a>(logger:<a href="ILogger.html">ILogger</a>):void</div>
<div class="summaryTableDescription">
      Sets up this target with the specified logger.</div>
</td><td class="summaryTableOwnerCol">ILoggingTarget</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeLogger()">removeLogger</a>(logger:<a href="ILogger.html">ILogger</a>):void</div>
<div class="summaryTableDescription">
      Stops this target from receiving events from the specified logger.</div>
</td><td class="summaryTableOwnerCol">ILoggingTarget</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="filters"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">filters</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>filters:Array</code>&nbsp;&nbsp;[read-write]<p>
      In addition to the <code>level</code> setting, filters are used to
      provide a psuedo-hierarchical mapping for processing only those events
      for a given category.
      
      </p><p>Each logger belongs to a category.
      By convention these categories map to the fully qualified class name
      in which the logger is used.
      For example, a logger that is logging messages for the
      <code>mx.rpc.soap.WebService</code> class would use 
      <code>"mx.rpc.soap.WebService"</code> as the parameter
      to the <code>Log.getLogger()</code> call.
      When messages are sent under this category only those targets that have
      a filter which matches that category will receive notification of those
      events.
      Filter expressions may include a wildcard match, indicated with an
      asterisk.
      The wildcard must be the right most character in the expression.
      For example: rpc*, mx.*, or *.
      If an invalid expression is specified a <code>InvalidFilterError</code>
      will be thrown.
      No spaces or any of the following characters are valid within a filter
      expression: []~$^&amp;\/(){}&lt;&gt;+=`!#%?,:;'"&#64;.</p>
      
      <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get filters():Array</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set filters(value:Array):void</code>
<br>
<br>
<span class="label">Example</span>
<br>      <pre>
      var traceLogger:ILoggingTarget = new TraceTarget();
      traceLogger.filters = [ "mx.rpc.*", "mx.messaging.*" ];
      Log.addTarget(traceLogger);
      </pre>
     <p></p>
</div>
<a name="level"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">level</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>level:int</code>&nbsp;&nbsp;[read-write]<p>
      Provides access to the level this target is currently set at.
      Value values are:
      <ul>
        <li><code>LogEventLevel.FATAL</code> designates events that are very
        harmful and will eventually lead to application failure</li>
             <li><code>LogEventLevel.ERROR</code> designates error events that might
        still allow the application to continue running.</li>
             <li><code>LogEventLevel.WARN</code> designates events that could be
        harmful to the application operation</li>
             <li><code>LogEventLevel.INFO</code> designates informational messages
        that highlight the progress of the application at
        coarse-grained level.</li>
             <li><code>LogEventLevel.DEBUG</code> designates informational
        level messages that are fine grained and most helpful when
        debugging an application.</li>
             <li><code>LogEventLevel.ALL</code> intended to force a target to
        process all messages.</li>
      </ul>
     </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get level():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set level(value:int):void</code>
<br>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addLogger()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addLogger</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addLogger(logger:<a href="ILogger.html">ILogger</a>):void</code><p>
      Sets up this target with the specified logger.
      This allows this target to receive log events from the specified logger.
      
      </p><p><b>Note:</b> This method is called by the framework
      and should not be called by you directly.</p>
      
      <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">logger</span>:<a href="ILogger.html">ILogger</a></code> &mdash; The ILogger that this target listens to.
     </td>
</tr>
</table>
</div>
<a name="removeLogger()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeLogger</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeLogger(logger:<a href="ILogger.html">ILogger</a>):void</code><p>
      Stops this target from receiving events from the specified logger.
      
      </p><p><b>Note:</b> This method is called by the framework
      and should not be called by you directly.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">logger</span>:<a href="ILogger.html">ILogger</a></code> &mdash; The ILogger that this target ignores.
     </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
